![]() |
YNQ
YNQ-1.5.1
|
#include <cmapi.h>
Data Fields | |
| NQ_INT | id |
| NQ_INT(* | toAnsi )(NQ_CHAR *outStr, NQ_UINT outLength, const NQ_WCHAR *inWStr, NQ_UINT inLength) |
| NQ_INT(* | toUnicode )(NQ_WCHAR *outWStr, NQ_UINT outLength, const NQ_CHAR *inStr, NQ_UINT inLength) |
| NQ_INT(* | toUpper )(NQ_CHAR *dst, const NQ_CHAR *src) |
| void(* | ansiToFs )(NQ_CHAR *str, NQ_INT size, const NQ_BYTE *firstIllegalChar, const NQ_BYTE *anyIllegalChar, NQ_INT numOfFirstIllChars, NQ_INT numOfAnyIllChars) |
| void(* | fsToAnsi )(NQ_CHAR *str, NQ_INT size, const NQ_BYTE *firstIllegalChar, const NQ_BYTE *anyIllegalChar, NQ_INT numOfFirstIllChars, NQ_INT numOfAnyIllChars) |
| const NQ_WCHAR * | a2uTab |
This structure defines code page parameters.
| NQ_INT CMCodepage::id |
Unique id value for this codepage. Code page is identified by this value. It is recommended to use respective Microsoft code page numbers (see notes).
| NQ_INT(* CMCodepage::toAnsi)(NQ_CHAR *outStr, NQ_UINT outLength, const NQ_WCHAR *inWStr, NQ_UINT inLength) |
Codepage-specific function for Unicode to ANSI conversion
| NQ_INT(* CMCodepage::toUnicode)(NQ_WCHAR *outWStr, NQ_UINT outLength, const NQ_CHAR *inStr, NQ_UINT inLength) |
Codepage-specific function for ANSI to Unicode conversion
Codepage-specific function for capitalizing conversion Codepage-specific function for converting ANSI to the encoding used in the local FS
| void(* CMCodepage::ansiToFs)(NQ_CHAR *str, NQ_INT size, const NQ_BYTE *firstIllegalChar, const NQ_BYTE *anyIllegalChar, NQ_INT numOfFirstIllChars, NQ_INT numOfAnyIllChars) |
Codepage-specific function for converting the encoding used in the local FS into ANSI
| void(* CMCodepage::fsToAnsi)(NQ_CHAR *str, NQ_INT size, const NQ_BYTE *firstIllegalChar, const NQ_BYTE *anyIllegalChar, NQ_INT numOfFirstIllChars, NQ_INT numOfAnyIllChars) |
| const NQ_WCHAR* CMCodepage::a2uTab |
Fast ANSI to Unicode conversion table. Using this table avoids calling the functions defined in this structure. It is only used for single-byte encodings like Hebrew/Russian/Turkish/Greek/etc. This pointer may be NULL. It should be NULL for multiple-byte encodings.